@if(session('error'))
<div class="Huialert Huialert-danger"><i class="Hui-iconfont">&#xe6a6;</i>{{session('error')}}</div>  
@endif

@if ($errors->any())
    <div class="alert alert-danger">
        <ul>
            @foreach ($errors->all() as $error)
                <li class="Huialert Huialert-danger"><i class="Hui-iconfont">&#xe6a6;</i>{{ $error }}</li>
         
            @endforeach
        </ul>
    </div>
@endif